<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>
<body>
<nav th:replace="layouts::navbar"></nav>


<div class="container">
    <div class="logo"></div>
    <hr>
    <h3>员工表</h3>
    <br>

    <br>
    <table class="table table-bordered table-striped">
        <thead class="thead-dark">
        <tr>
            <th>员工ID</th>
            <th>姓名</th>
            <th>性别</th>
            <th>电话</th>
            <th>权限</th>
            <th>活动</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="userAccount:${userAccounts}">
            <td th:text="${userAccount.userId}"></td>
            <td th:text="${userAccount.userName}"></td>
            <td th:text="${userAccount.sex}"></td>
            <td th:text="${userAccount.phone}"></td>
            <td th:text="${userAccount.role}"></td>
        </tr>
        </tbody>
    </table>

</div>

</body>
</html>